/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nsip.graph;

import java.awt.Color;

/**
 *
 * @author nico.rehwaldt
 */
public class ConstantInfo {

    private final int value;
    private final Color color;

    public ConstantInfo(int value) {
        this(value, Color.YELLOW);
    }

    public ConstantInfo(int value, Color color) {
        this.value = value;
        this.color = color;
    }

    /**
     * @return the value
     */
    public int getValue() {
        return value;
    }

    /**
     * @return the color
     */
    public Color getColor() {
        return color;
    }
}
